package model

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ SmsHomeSubjectSpuModel = (*customSmsHomeSubjectSpuModel)(nil)

type (
	// SmsHomeSubjectSpuModel is an interface to be customized, add more methods here,
	// and implement the added methods in customSmsHomeSubjectSpuModel.
	SmsHomeSubjectSpuModel interface {
		smsHomeSubjectSpuModel
	}

	customSmsHomeSubjectSpuModel struct {
		*defaultSmsHomeSubjectSpuModel
	}
)

// NewSmsHomeSubjectSpuModel returns a model for the database table.
func NewSmsHomeSubjectSpuModel(conn sqlx.SqlConn) SmsHomeSubjectSpuModel {
	return &customSmsHomeSubjectSpuModel{
		defaultSmsHomeSubjectSpuModel: newSmsHomeSubjectSpuModel(conn),
	}
}
